﻿using Extension.Utilities;
using PatcherYRpp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices.ComTypes;
using System.Text;
using System.Threading.Tasks;

namespace Extension.Ext
{
    public partial class TechnoTypeExt
    {
        public string ScriptArgs;

        /// <summary>
        /// 
        /// </summary>
        /// <param name="reader"></param>
        /// <param name="section"></param>
        private void ReadScriptArgs(INIReader reader, string section)
        {
            if (string.IsNullOrEmpty(ScriptArgs))
            {
                reader.ReadNormal(section, "Script.Args", ref ScriptArgs);
            }
        }
    }


    public partial class BulletTypeExt
    {
        public string ScriptArgs;

        /// <summary>
        /// 
        /// </summary>
        /// <param name="reader"></param>
        /// <param name="section"></param>
        private void ReadScriptArgs(INIReader reader, string section)
        {
            if (string.IsNullOrEmpty(ScriptArgs))
            {
                reader.ReadNormal(section, "Script.Args", ref ScriptArgs);
            }
        }
    }
}
